function onUse(cid, item, frompos, item2, topos)
	if (isInArray(LADDER, item.itemid) == TRUE) then
		doTeleportThing(cid, {x = frompos.x, y = frompos.y + 1, z = frompos.z - 1})
	else
		doTeleportThing(cid, {x = frompos.x, y = frompos.y, z = frompos.z + 1})
	end
	return TRUE
end